package homeWork.Six.car;

public class TestDemo {
    public static void main(String[] args) {
        Car car = new Car();
        car.start();
        car.stop();
        System.out.println("=============================");
        FamilyCar familyCar = new FamilyCar("武大郎");
        familyCar.start();
        familyCar.stop();
        System.out.println("=============================");
        Taxicab taxicab = new Taxicab("景顺出租公司","晋M12345");
        taxicab.start();
        taxicab.stop();
    }
}
